home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / packet / terminal / ad16dis.exe / G8BPQ.DOC < prev    next >
Text File  |  1992-12-31  |  7KB  |  140 lines

  1. G8BPQ.DOC IMPROVED Hints on Using the G8BPQ Switch with ARES/Data
  2.  
  3.  
  4. ARES/Data V. 1.5 and beyond implements a new type of interface, called
  5. "BPQ", that allows a G8BPQ switch to act as the TNC for the ARES/Data
  6. program.  This means that any TNC that can operate in the KISS mode can
  7. be used with ARES/Data, including PK-232, KAM, and others, for the first
  8. time.
  9.  
  10. This has been made possible by the G8BPQ's new software interface,
  11. DEDHOST, which makes the switch look like a DED TNC to the ARES/Data
  12. program.  At the same time, ARES/Data looks like a "BBS" application to
  13. the BPQ switch.
  14.  
  15. The BPQ switch code is very complex and powerful.  It is like a very
  16. sophisticated translator program that attaches to hardware (TNCs) on one
  17. side and provides virtual software TNCs to applciation programs, all the
  18. while acting like a NET/ROM-style node on the radio channel(s).
  19. It is easy to set it up wrong so that nothing works and reboots are
  20. required.  Moreover, the BPQ switch code MUST be working correctly
  21. before you can even think of starting ARES/Data.  With these warnings
  22. in mind, here is a quick and dirty way to set up the BPQ switch to
  23. operate with ARES/Data.  Don't change any of the parameters unless you
  24. know what you are doing!  This description assumes you want to just use
  25. one TNC in the KISS mode to act as the hardware part of the G8BPQ
  26. switch.  You must read the BPQ documentation files if you want to do
  27. anything else.  In fact, you should read the documentation in any case,
  28. especially if you have trouble.
  29.  
  30.  
  31. 0. First of all, you must get a copy of the G8BPQ switch code.  It is
  32. NOT supplied with ARES/Data, since you should get the latest and
  33. greatest to get the bug fixes.  We have tested ARES/Data with Version
  34. 4.05 so far.  If you don't have the BPQ code already, here is a
  35. good source in addition to Compuserve:
  36.  
  37.     Tucson Amateur Packet Radio
  38.     P. O. Box 12925
  39.     Tucson, AZ    85732-2925
  40.     phone 602-749-9479 fax 602-749-5636
  41.  
  42.  
  43. 1. First, get your TNC operating in the KISS mode, 4800, N, 8, 1.
  44. You can do this with a terminal emulator, using commands found in
  45. the manual of your TNC, which should be something like "KISS ON".
  46. Exit the terminal emulator.
  47.  
  48. 2.  After unpacking the G8BPQ switch code, edit BPQCFG.TXT to specify
  49. the callsign and alias you want for the BPQ switch.  A SAMPLE BPQCFG.TXT
  50. FILE THAT WORKS WITH BPQ V. 4.05 IS INCLUDED WITH THIS RELEASE OF
  51. ARES/Data.  Be sure you are editing the version sent with ARES/Data,
  52. not the BPQCFG.TXT that comes with the BPQ switch code.  Keep the two
  53. files separate!  You may need both.
  54.  
  55. 3.  Run BPQCFG.EXE, which makes the binary file BPQCFG.BIN from
  56. BPQCFG.TXT.  This only needs to be done once.
  57.  
  58. 4.  Run the batch file STARTBPQ.BAT, which actually loads the BPQ code
  59. and the additional DED driver DEDHOST, which is used by ARES/Data.  A
  60. SAMPLE VERSION OF STARTBPQ.BAT IS INCLUDED WITH ARES/DATA.  (IF you have
  61. the file DEDHOSFE.COM, DO NOT USE IT.  This file works only with V.
  62. 4.01 of the BPQ switch, and NOT with any later version.)
  63.  
  64. 5.  Test the switch.  You can do this in several ways.  One way is by
  65. doing a remote connect - it should act like any normal NET/ROM node,
  66. except you have to specify the port number (1) when connecting out via
  67. the switch.  Another way is to run the program PAC4.EXE included with
  68. the BPQ code, which is a simple terminal program which talks directly to
  69. the switch.  Start PAC4 by typing "PAC4 1".  With PAC4, you can initiate
  70. a connection to another station, which is a good two-way test of the
  71. connections between the switch and your TNC.  Just type "C 1 w6abc".
  72. Another userful command is "stats", which causes BPQ to give you the
  73. current values of many of his counters.  To exit PAC4, type "<ctl>y".
  74. IF THE SWITCH IS NOT WORKING, DON'T EVEN TRY TO GO ANY FURTHER.
  75. Check BPQCFG.TXT in detail.
  76.  
  77. 6. Be sure that ARESDATA.CFG has been edited to specify the BPQ
  78. interface, for example
  79.  
  80. attach bp1 type=bpq bpqvec=254 users=9 deleteon
  81.  
  82. The bpqvec parameter must match the software interrupt vector address
  83. specified as the last parameter when you called DEDHOST (in
  84. STARTBPQ.BAT).
  85.  
  86. 7. Finally, start ARES/Data using the batch file ARESDATA.BAT, with
  87. the lines loading and unloading TNCTSR-S and MBBIOS commented out.  You
  88. don't need either of these TSR's, as all the direct communications with
  89. your serial port hardware are handled by the G8BPQ switch code.
  90.  
  91. WARNING:  we have tested ARES/Data with BPQ and DRSI, with DRSI and
  92. MBBIOS (DED) TNCs, but NOT with MBBIOS and BPQ.  Don't expect this to
  93. work.  It may, however, under certain conditions.
  94.  
  95.  
  96.  
  97. USERS CONNECTING TO ARES/DATA THROUGH THE SWITCH:
  98. The user connects using either the call or alias for the switch.  The
  99. user can then do any usual switch command such as "PORTS", "USERS", etc.
  100. If he types ?, he sees that an application is listed "aresdata".  He
  101. then simply types "aresdata" to get into the ARES/Data system.
  102. On the other hand, if the user connects using the call or the alias for
  103. the ARES/Data application, the user gets directly into ARES/Data.
  104.  
  105.  
  106. SYSOPS CONNECTING OUT USING THE BPQ INTERFACE:
  107. From the ARES/Data sysop screen, type
  108. <esc>sn          select channel n, where n is an unused channel number.
  109. F2   F2          press F2 twice to get into chat mode for this channel.
  110.                  You should see a small "x" next to the channel number.
  111.                  NOTE - if you don't do this, ARES/Data will assume
  112.                  that the connection is to another database user
  113.                  rather than the switch, so that all the ARES/Data
  114.                  prompts look like INVALID COMMANDS to the switch!
  115. <esc>c xxx       where xxx is anything; the switch will respond saying
  116.                  "CONNECTED to 0:SWITCH", no matter what "xxx" is.
  117. Now you talk to the switch to issue more commands:
  118. <esc>ninfo       gets the switch info  (note the number n is required, because
  119.                  this is not really a command, but a string to be sent to
  120.                  ARES/Data channel n, which is now connected to the switch).
  121. <esc>nc p w6abc  initiates a connect to w6abc on port p of the switch.
  122.                  (again, this is really text sent to the switch).
  123.  
  124.  
  125. NOTE:  DEDHOST only implements a portion of the the real WA8DED command
  126. set, specifically, the commands C, D, L, @B, G, JHOST.  You send
  127. COMMANDs, rather than text, to the switch using <esc><command>, with no
  128. channel number.  All other WA8DED commands (as opposed to text) that you
  129. might try to send to the switch are rejected as INVALID COMMANDS.  Often
  130. you get an INVLAID COMMAND message without reason - this is a bug and
  131. can be ignored.
  132.  
  133.  
  134. This is a highly flexible switch program, so be patient.  Again, if you
  135. change many parameters, be sure that ARES/Data still works.
  136. Thanks again to John Wiseman for making this possible.
  137.  
  138.  
  139. END G8BPQ.DOC
  140.